package d3d11.resources;

import org.bridj.Pointer;
import org.bridj.ann.Library;
import org.bridj.ann.Runtime;
import org.bridj.ann.Virtual;
import org.bridj.cpp.com.COMRuntime;
import org.bridj.cpp.com.IID;

import d3d11.D3D11.D3D11_RESOURCE_DIMENSION;
import d3d11.core.ID3D11DeviceChild;

@IID("dc8e63f3-d12b-4952-b47b-5e45026a862d")
@Library("d3d11")
@Runtime(COMRuntime.class)
public class ID3D11Resource extends ID3D11DeviceChild {

	public ID3D11Resource() {
		super();
	}
	public ID3D11Resource(Pointer pointer) {
		super(pointer);
	}
	@Virtual(0)
	public native void GetType(Pointer<D3D11_RESOURCE_DIMENSION> pType);
	@Virtual(1)
	public native void SetEvictionPriority(int priority);
	@Virtual(2)
	public native int GetEvictionPriority();
}
